Skip to contentSkip to conversation

Makefile package missing

DISCUSSION Saridakis, Dean (US SSA) 1 participant 1 message Mar 12, 2013

lore
Share & tools
lore
#0 lore raw

I have a recipe for a set of simple user applications I need on the rootfs. However, my application package was only built w/ -dev & -dbg suffixes (whereas it looks like everything else also has a 3rd package w/o any suffix).

For the moment I'm explicitly adding the -dbg version to IMAGE_INSTALL to get around this. Any idea why I'm not getting the 3rd package built? The recipe is pretty thin (other suggestions also welcome):

DESCRIPTION = "Test Applications"
LICENSE = "SDK"
LIC_FILES_CHKSUM = "file://COPYING;md5=528a726dd12b5c980054892aae4ff93d<file:///\\COPYING;md5=528a726dd12b5c980054892aae4ff93d>" # SECTION defaults to "base" -- doesn't seem to do anything....
SECTION = "examples"

# Everything inherits from base

PR = "r0"
PV = "0.1"

SRC_URI = "file://.<file:///\\.>"

S = "${WORKDIR}"

DEPENDS = "demo-fpga"
RDEPENDS = "demo-fpga"

# Guess PKG_CONFIG_SYSROOT_DIR is the way to pick up sysroot dir for fpga driver header files...

EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' \
        'CFLAGS=${CFLAGS}' 'DRIVERS_SRC=${PKG_CONFIG_SYSROOT_DIR}/usr/include/demo-fpga' 'BUILDDIR=${S}'"

#my_bindir = "${bindir}"
my_bindir = "/usr/local/bin"

do_install () {
make INSTALL_DIR=${D}${my_bindir} install
}

PARALLEL_MAKE = ""

BBCLASSEXTEND = "native"

Thanks,
Dean